package com.flynn.rock.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "消息详情通知")
public class MessageVo {

    @Schema(description = "消息ID")
    private Long id;
    @Schema(description = "发送人ID")
    private Long fromUserId;
    @Schema(description = "发送人姓名")
    private String fromUsername;
    @Schema(description = "接收人ID")
    private Long toUserId;
    @Schema(description = "发送时间")
    private String createTime;
    @Schema(description = "消息标题")
    private String messageTitle;
    @Schema(description = "消息内容")
    private String messageContent;
    @Schema(description = "是否已读消息")
    private Boolean readMessage;
    @Schema(description = "读取消息时间")
    private String readMessageTime;
    @Schema(description = "消息业务类型")
    private String messageBusinessType;
}
